package basic.arch.component.bigdata.hbase.common;
import java.io.Serializable;

import basic.arch.component.bigdata.hbase.common.annotation.Column;
import basic.arch.component.bigdata.hbase.common.annotation.Table;

@Table(columnFamilyName="cfperson",tableName="person")
public class Person implements Serializable{
    private static final long serialVersionUID = 1L;
    @Column(columnName="userId",isRowName=true)
    private String userId;
    @Column(columnName="userName")
    private String userName;
    @Column(columnName="password")
    private String password;
    
    
    
    
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    @Override
    public String toString() {
        return "Person [userId=" + userId + ", userName=" + userName + ", password=" + password + "]";
    }
    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
   
    
    
}
